﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BadmintonApp.Entity;

namespace BadmintonApp.BLL.Interface
{
    public interface IRechargeBLL
    {
        /// <summary>
        /// 插入充值信息
        /// </summary>
        /// <param name="recharegeInfo">充值信息类</param>
        void InsertRecharge(TRechargeInfo rechargeInfo);

        /// <summary>
        /// 更新充值信息
        /// </summary>
        /// <param name="rechargeInfo">充值信息类</param>
        void UpdateRecharge(TRechargeInfo rechargeInfo);

        /// <summary>
        /// 删除充值信息
        /// </summary>
        /// <param name="rechargeID">充值ID</param>
        void DeleteRecharge(int rechargeID);

        /// <summary>
        /// 获取所有充值信息
        /// </summary>
        /// <returns>充值信息类列表</returns>
        DataSet GetAllRecharge();

        /// <summary>
        /// 根据过滤条件获取充值信息
        /// </summary>
        /// <param name="sFilter">过滤条件</param>
        /// <returns>充值信息类列表</returns>
        DataSet GetRechargeByFilter(string sFilter);
    }
}
